package com.utils.from;

import lombok.Data;
import lombok.ToString;

import javax.validation.constraints.NotEmpty;

@Data
@ToString
public class WorkBugForm {
    private Long id;
    @NotEmpty(message = "请填写任务名称")
    private String name;
    @NotEmpty(message = "请填写启始URL")
    private String startUrl;
    @NotEmpty(message = "请选择爬虫程序")
    private String reptileClass;
    @NotEmpty(message = "请选择岗位类型")
    private String type;
}
